package com.zhijian.medical.service;


import com.zhijian.medical.entity.po.DeviceAdjustRecord;
import com.zhijian.medical.entity.vo.request.DeviceAdjustRecordSearchVo;
import com.zhijian.medical.entity.vo.response.DeviceAdjustRecordVo;
import com.zhijian.medical.util.Page;

import java.util.List;

/**
 * 校准记录 业务处理层
 *
 * @author HCG
 * @version 1.0
 * @date 2022-01-01 15:38:31
 */
public interface DeviceAdjustRecordService {

    /**
     * 主键查询
     *
     * @param id
     * @return
     */
    DeviceAdjustRecord selectById(Long id);

    /**
     * 主键查询vo
     *
     * @param id
     * @return
     */
    DeviceAdjustRecordVo selectVoById(Long id);

    /**
     * 按照主键删除
     *
     * @param id
     */
    void deleteById(Long id);

    /**
     * 新增
     *
     * @param deviceAdjustRecord
     * @return
     */
    Long insert(DeviceAdjustRecord deviceAdjustRecord);

    /**
     * 更改
     *
     * @param deviceAdjustRecord
     * @return
     */
    boolean update(DeviceAdjustRecord deviceAdjustRecord);

    /**
     * 总数
     *
     * @param deviceAdjustRecordSearchVo
     * @return
     */
    Integer count(DeviceAdjustRecordSearchVo deviceAdjustRecordSearchVo);

    /**
     * 列表
     *
     * @param deviceAdjustRecordSearchVo
     * @return
     */
    List<DeviceAdjustRecordVo> selectList(DeviceAdjustRecordSearchVo deviceAdjustRecordSearchVo);

    /**
     * 分页展示
     *
     * @param deviceAdjustRecordSearchVo
     * @return
     */
    Page<DeviceAdjustRecordVo> selectPage(DeviceAdjustRecordSearchVo deviceAdjustRecordSearchVo);
}